package com.hxzy.mapper;

import com.hxzy.controller.admin.merchandiser.req.MerchandiserReq;
import com.hxzy.controller.admin.merchandiser.resp.MerchandiserResp;
import com.hxzy.controller.front.merchandiser.req.MerchandiserIdReq;
import com.hxzy.entity.Merchandiser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【merchandiser(商家信息)】的数据库操作Mapper
* @createDate 2023-06-28 16:38:44
* @Entity com.hxzy.entity.Merchandiser
*/
public interface MerchandiserMapper extends BaseMapper<Merchandiser> {

    List<MerchandiserResp> search(@Param(value = "req") MerchandiserReq req);

    /**
     * 前端分页查询
     * @param req
     * @return
     */
    List<com.hxzy.controller.front.merchandiser.resp.MerchandiserResp> frontSearch(@Param(value = "req") com.hxzy.controller.front.merchandiser.req.MerchandiserReq req);

    /**
     * 前端根据ID查询数据
     * @param req
     * @return
     */
    com.hxzy.controller.front.merchandiser.resp.MerchandiserResp frontFindById(@Param(value = "req") MerchandiserIdReq req);
}




